package cn.kgc.springbootdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 角色与菜单对应关系(RoleMenu)表实体类
 *
 * @author makejava
 * @since 2021-04-01 10:43:21
 */
@SuppressWarnings("serial")
@ApiModel("角色与菜单对应关系表")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RoleMenu extends Model<RoleMenu> {

    //角色ID
    @ApiModelProperty("角色ID")
    private Integer roleId;

    //菜单ID
    @ApiModelProperty("菜单ID")
    private Integer menuId;
}
